/****************************************************************
 * Fulguro
 * Copyright (C) 2004 Christophe Clienti
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 ***************************************************************/

#ifdef __cplusplus
extern "C" {
#endif

#ifndef __FLGR_CORE_COMPARE_H
#define __FLGR_CORE_COMPARE_H
  
#include <flgrCoreDll.h>
#include <flgrCoreErrors.h>
#include <flgrCoreTypes.h>
#include <flgrCoreData.h>
#include <flgrCoreVector.h>



  EXPORT_LIB FLGR_Test flgr_get_test_value(char *test);


  /****************************** 1D COMPARE Functions **************************************/
  EXPORT_LIB int flgr1d_compare(FLGR_Data1D *dat1, char * test, FLGR_Data1D *dat2);
  EXPORT_LIB int flgr1d_compare_const_ptr(FLGR_Data1D *dat1, char * test, FLGR_Vector *constant);
  EXPORT_LIB int flgr1d_compare_const_str(FLGR_Data1D *dat1, char * test, char *constant);

  EXPORT_LIB int flgr1d_compare_fgBIT(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2);
  EXPORT_LIB int flgr1d_compare_fgUINT8(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 
  EXPORT_LIB int flgr1d_compare_fgUINT16(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 
  EXPORT_LIB int flgr1d_compare_fgUINT32(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 
  EXPORT_LIB int flgr1d_compare_fgINT8(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 
  EXPORT_LIB int flgr1d_compare_fgINT16(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 
  EXPORT_LIB int flgr1d_compare_fgINT32(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 
  EXPORT_LIB int flgr1d_compare_fgFLOAT32(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 
  EXPORT_LIB int flgr1d_compare_fgFLOAT64(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Data1D *dat2); 

  EXPORT_LIB int flgr1d_compare_const_fgBIT(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr1d_compare_const_fgUINT8(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 
  EXPORT_LIB int flgr1d_compare_const_fgUINT16(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 
  EXPORT_LIB int flgr1d_compare_const_fgUINT32(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 
  EXPORT_LIB int flgr1d_compare_const_fgINT8(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 
  EXPORT_LIB int flgr1d_compare_const_fgINT16(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 
  EXPORT_LIB int flgr1d_compare_const_fgINT32(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 
  EXPORT_LIB int flgr1d_compare_const_fgFLOAT32(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 
  EXPORT_LIB int flgr1d_compare_const_fgFLOAT64(FLGR_Data1D *dat1, FLGR_Test test, FLGR_Vector *constant); 


  /****************************** 2D COMPARE Functions **************************************/
  EXPORT_LIB int flgr2d_compare(FLGR_Data2D *imtst1, char * test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_const_ptr(FLGR_Data2D *imtst1, char * test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_str(FLGR_Data2D *imtst1, char * test, char *strtest2);

  EXPORT_LIB int flgr2d_compare_fgBIT(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgUINT8(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgUINT16(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgUINT32(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgINT8(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgINT16(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgINT32(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgFLOAT32(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);
  EXPORT_LIB int flgr2d_compare_fgFLOAT64(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Data2D *imtst2);


  EXPORT_LIB int flgr2d_compare_const_fgBIT(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgUINT8(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgUINT16(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgUINT32(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgINT8(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgINT16(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgINT32(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgFLOAT32(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);
  EXPORT_LIB int flgr2d_compare_const_fgFLOAT64(FLGR_Data2D *imtst1, FLGR_Test test, FLGR_Vector *constant);





#endif

#ifdef __cplusplus
}
#endif
